﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ThrongIn.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">

    <script language="javascript" type="text/javascript">
        window.history.go(+1);
    </script>

    <title>ThrongIn::Login</title>
    <link rel="stylesheet" href="css/screen.css" type="text/css" media="Screen" />  

    <script type="text/javascript" src="js/jquery.min.js"></script>

    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            $("#<%=txtEmail.ClientID%>").focus();
        });

    </script>

</head>
<body>
    <form id="frmLogin" runat="server">
    <div class="wrap-body-outer">
        <!-- Inner Wraper Start -->
        <div>
            <!-- Header Section -->
            <div class="wrap-header">
                <div class="header wrap-inner">
                    <!-- Left Logo -->
                    <h1 class="logo-hipro">
                        <asp:HyperLink ID="HyperLink1" runat="server" TabIndex="0" NavigateUrl="#" rel="home"></asp:HyperLink></h1>
                    <!-- End of Left Logo -->
                    <div class="clear">
                    </div>
                    <div class="clear">
                    </div>         
                </div>
            </div>
        </div>
        <asp:Panel ID="pnlLogin" CssClass="login-page" runat="server" Visible="true">
            <div class="login-page">
                <!-- login window starts -->
                <div class="login-window">
                    <h2>Sign-In to ThrongIn</h2>
                    <div class="login-content">
                        <div class="login-content-inner">
                            <div>
                                <asp:Label ID="lblErrMsg" runat="server" CssClass="error-message margin-left-75"></asp:Label>
                            </div>
                            <div class="login-form-container">
                                <p>
                                    <label for="email">
                                        Email:</label><asp:TextBox ID="txtEmail" runat="server" />
                                    <asp:RequiredFieldValidator ID="emailVal" runat="server" ErrorMessage="Email cannot be left blank."
                                        CssClass="error-message margin-left-75" ControlToValidate="txtEmail" Display="Dynamic" />
                                  <%--  <asp:RegularExpressionValidator ID="valEmailValidate" runat="server" ControlToValidate="txtEmail"
                                        CssClass="error-message margin-left-75" ErrorMessage="Please enter a valid Email"
                                        Display="Dynamic" />--%>
                                </p>
                                <p>
                                    <label for="password">
                                        Password:</label><asp:TextBox ID="txtPassword" MaxLength="50" TextMode="Password"
                                            runat="server" />
                                    <asp:RequiredFieldValidator ID="valPasswordBlank" runat="server" ErrorMessage="Password cannot be left blank."
                                        CssClass="error-message margin-left-75" ControlToValidate="txtPassword" Display="Dynamic" />
                                </p>
                                <label>
                                    &nbsp;</label><span class="btn ver-align-middle"><asp:Button ID="btnLogin" runat="server"
                                        Text="Login" OnClick="btnLogin_Click"   /></span> <span class="ver-align-middle">
                                            <asp:LinkButton ID="lnkForgetPassword"  runat="server" CausesValidation="false" Text="Forgot Your Password?"
                                                 ></asp:LinkButton></span>
                            </div>
                            <div class="login-right-container safari-margin-top-4">
                                <div class="new-user">
                                    Don’t have an account yet?</div>
                                <span class="btn">
                                    <asp:Button ID="btnNewUser" runat="server" CausesValidation="false" CssClass="pop-content"
                                        Text="Sign-Up" />
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- login window ends -->
        </asp:Panel>
    </div>
    </form>

</body>
</html>
